package com.kuang.demo.bean.wx;

import lombok.Data;

import java.util.List;
@Data
public class BaseDataCoupon<T> {
    List<T> items;
    long count;

    public static <T> BaseDataCoupon data(List<T> items, long count){
        BaseDataCoupon baseData = new BaseDataCoupon();
        baseData.setItems(items);
        baseData.setCount(count);
        return baseData;
    }
}
